package com.jsz.peini.mapper.user;

import com.jsz.peini.bean.user.UserSms;
import com.jsz.peini.bean.user.UserSmsExample;

import java.util.LinkedHashMap;
import java.util.List;

public interface UserSmsMapper {
    int countByExample(UserSmsExample example);

    int deleteByPrimaryKey(String smsid);

    int insert(UserSms record);

    int insertSelective(UserSms record);
    
    int insertSelectivesms(UserSms record);

    List<UserSms> selectByExampleWithBLOBs(UserSmsExample example);

    List<UserSms> selectByExample(UserSmsExample example);

    UserSms selectByPrimaryKey(String smsid);

    int updateByPrimaryKeySelective(UserSms record);

    int updateByPrimaryKeyWithBLOBs(UserSms record);

    int updateByPrimaryKey(UserSms record);
    
    List<LinkedHashMap<String,Object>> getMytipAllByUserId(String UserId);
    
    /**
     * 取消消息提醒
     * @author Han Guohong
     * @param idList
     * @return
     */
    int cancelSmsRemind(List<String> idList);
}